package com.sxjh.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 内部倒运-工厂管理
 * </p>
 *
 * @author guanxy
 * @since 2023-06-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "工厂管理", description = "工厂管理")
@TableName("it_factory")
public class FactoryEntity extends BaseEntity {

    /**
     * 工厂名称
     */
    @ApiModelProperty(value = "工厂名称")
    @TableField(value = "name")
    private String name;

    /**
     * 角色id，多个逗号分隔
     */
    @ApiModelProperty(value = "角色id，多个逗号分隔")
    @TableField(value = "role_id")
    private String roleId;

    @ApiModelProperty(value = "角色name，多个逗号分隔")
    @TableField(value = "role_name")
    private String roleName;
}
